package Day4_sampleCodes.sample;

public class SampleFinally {

	public static void main(String[] args) {
		for(int i=1; i<=6;i++){
			try{
				TryCatchSamples.myMethod(i);
			}catch(Exception exc){
				System.out.println("exception caught");
				System.out.println(exc.getMessage());
			}
			System.out.println();
		}
		
		
	}
}
